<template>
    <div>
        
        <el-container>
        <el-aside width="auto">
            <common-aside />
        </el-aside>
        <el-container>
            <el-header>
                <common-header />
            </el-header>
            <el-main>
                <router-view></router-view>
            </el-main>
        </el-container>
        </el-container>
        
    </div>
    
</template>
<script>
// 导入侧边栏组件
import CommonAside from '../components/CommonAside.vue'
import CommonHeader from '../components/CommonHeader.vue';

export default {
    data(){
        return {}
    },
    components:{
        CommonAside,
        CommonHeader
    }
}
</script>
<style lang="less" scoped>
.el-header{
    padding: 0;
}
</style>
